// MFCDLLTest.h : main header file for the MFCDLLTest DLL
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif
#define DLLCLASS_API _declspec(dllexport)

#include "resource.h"		// main symbols
#include "DataCache.h"

// CMFCDLLTestApp
// See MFCDLLTest.cpp for the implementation of this class
//

class AFX_EXT_CLASS CMFCDLLTestApp : public CWinApp
{
public:
	CMFCDLLTestApp();

    //extern "C" __declspec(dllexport) 
    //int GetListData( int nIndex );

    CDataCache* GetDataCache();
    void SetDataCache(CDataCache* val) { m_pDataCache = val; }

// Overrides
public:
	virtual BOOL InitInstance();

	DECLARE_MESSAGE_MAP()

private:
    CDataCache* m_pDataCache;

};
